import Vue from 'vue'
import App from './App'
import '@/uni.promisify.adaptor'
import store from '@/store'
import { showMessage } from '@/utils/message'
import { router, RouterMount } from '@/router/index' //路径换成自己的
Vue.use(router)
// uviewUI
import uView from 'uview-ui'
Vue.use(uView)

// 将信息提示挂载全局
Vue.prototype.$msg = showMessage

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App,
  store,
})
app.$mount()
